home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / LispExample / LispListener.h < prev    next >
Text File  |  1995-06-12  |  497b  |  31 lines

  1. /*
  2. **    LispListener.h
  3. **    A Scrollable LispText.
  4. **    Lee Boynton, NeXT, Inc., 1989
  5. */
  6.  
  7. #import <appkit/ScrollView.h>
  8. #import "Lisp.h"
  9.  
  10. @interface LispListener : ScrollView
  11. {
  12.     id    theText;
  13. }
  14.  
  15. + newFrame:(NXRect *)theFrame;
  16.     /*
  17.     ** Create a new LispListener with the given frame rectangle. The
  18.     ** Lisp process (determined by the LispImage default) is automatically 
  19.     ** launched.
  20.     */
  21.  
  22. - evaluate:(const char *)theString;
  23.     /*
  24.     ** Enqueue the given input to Lisp.
  25.     */
  26.  
  27. @end
  28.  
  29.  
  30.  
  31.